package com.flong.jxl;
import java.io.File;

import jxl.Cell;
import jxl.Sheet;
import jxl.Workbook;

public class ReadExcelInfo {
	public static void main(String[] args)throws Exception {
		
		String path = "d:/pc_task/test.xls";
		
		Workbook book = Workbook.getWorkbook(new File(path));
		Sheet sheet = book.getSheet(2);
		int rows = sheet.getRows();
		for (int i = 1; i <rows; i++) {
			Cell cell = sheet.getCell(0, i);
			String text = cell.getContents().trim().replace("", "");
			if(text!=null && !"".equals(text)){
				
				String [] strArrays = text.split("=");
				String shopName= strArrays[0];
				String tels = strArrays[1];
				String address= strArrays[2];
				System.out.println(address);
			
			}
		}
		book.close();
	}
}